package site.fantasycube.blog.config;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author32172
 * @since2022/1/13
 */
@Data
@Configuration
@ConfigurationProperties("blog")
public class BlogCofigurtion {

    private Key key;


    @Setter
    @Getter
    public static class Key{
        private String pageKey;
        private String dbKey;
    }
}
